# 判断是否直角三角形
a=eval(input())
b=eval(input())
c=eval(input())
shortest=min(a,b,c)
longest=max(a,b,c)
middle=sum([a,b,c])-shortest-longest
if shortest<=0 or shortest+middle<=longest:
    print('NO')
elif shortest**2+middle**2==longest**2:
    print('YES')
else:
    print('NO')
